<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
  Module: PlaceLookupable
  
    &mdash; Documentation by YARD 0.7.3
  
</title>

  <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />

  <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '';
  if (relpath != '') relpath += '/';
</script>

  <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>

  <script type="text/javascript" charset="utf-8" src="js/app.js"></script>


  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="_index.html">Index (P)</a> &raquo; 
    
    
    <span class="title">PlaceLookupable</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  
    <a id="class_list_link" href="#">Class List</a>
  
    <a id="method_list_link" href="#">Method List</a>
  
    <a id="file_list_link" href="#">File List</a>
  
</div>
      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Module: PlaceLookupable
  
  
  
</h1>

<dl class="box">
  
  
    
  
    
  
  
    <dt class="r1">Included in:</dt>
    <dd class="r1"><span class='object_link'><a href="Place.html" title="Place (class)">Place</a></span>, <span class='object_link'><a href="PlaceCreator.html" title="PlaceCreator (class)">PlaceCreator</a></span>, <span class='object_link'><a href="Response.html" title="Response (class)">Response</a></span></dd>
    
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">lib/place_lookupable.rb</dd>
  
</dl>
<div class="clear"></div>



  <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#place_lookup_query-instance_method" title="#place_lookup_query (instance method)">- (Object) <strong>place_lookup_query</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'><p>
Returns the value of attribute place_lookup_query.
</p>
</div></span>
  
</li>

    
  </ul>




  
    <h2>
      Instance Method Summary
      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
    </h2>

    <ul class="summary">
      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#place_suggestion_ids-instance_method" title="#place_suggestion_ids (instance method)">- (Object) <strong>place_suggestion_ids</strong> </a>
    

    
  </span>
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#place_suggestion_ids%3D-instance_method" title="#place_suggestion_ids= (instance method)">- (Object) <strong>place_suggestion_ids=</strong>(ids) </a>
    

    
  </span>
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'><p>
sets suggestion_ids AND suggestions.
</p>
</div></span>
  
</li>

      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#place_suggestions-instance_method" title="#place_suggestions (instance method)">- (Object) <strong>place_suggestions</strong> </a>
    

    
  </span>
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#place_suggestions%3D-instance_method" title="#place_suggestions= (instance method)">- (Object) <strong>place_suggestions=</strong>(sugs) </a>
    

    
  </span>
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'><p>
sets suggestions AND suggestion_ids.
</p>
</div></span>
  
</li>

      
    </ul>
  


  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id="place_lookup_query=-instance_method"></span>
      <span id="place_lookup_query-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="place_lookup_query-instance_method">
  
    - (<tt>Object</tt>) <strong>place_lookup_query</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>
Returns the value of attribute place_lookup_query
</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


2
3
4</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/place_lookupable.rb', line 2</span>

<span class='def def kw'>def</span> <span class='place_lookup_query identifier id'>place_lookup_query</span>
  <span class='@place_lookup_query ivar id'>@place_lookup_query</span>
<span class='end end kw'>end</span>
</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="instance_method_details" class="method_details_list">
    <h2>Instance Method Details</h2>
    
    
      <div class="method_details first">
  <p class="signature first" id="place_suggestion_ids-instance_method">
  
    - (<tt>Object</tt>) <strong>place_suggestion_ids</strong> 
  

  
</p><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


4</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/place_lookupable.rb', line 4</span>

<span class='def def kw'>def</span> <span class='place_suggestion_ids identifier id'>place_suggestion_ids</span><span class='semicolon token'>;</span> <span class='@place_suggestion_ids ivar id'>@place_suggestion_ids</span> <span class='opasgn op'>||=</span> <span class='string val'>&quot;&quot;</span> <span class='end end kw'>end</span>
</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="place_suggestion_ids=-instance_method">
  
    - (<tt>Object</tt>) <strong>place_suggestion_ids=</strong>(ids) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>
sets suggestion_ids AND suggestions
</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


8
9
10
11</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/place_lookupable.rb', line 8</span>

<span class='def def kw'>def</span> <span class='place_suggestion_ids= identifier id'>place_suggestion_ids=</span><span class='lparen token'>(</span><span class='ids identifier id'>ids</span><span class='rparen token'>)</span>
  <span class='@place_suggestion_ids ivar id'>@place_suggestion_ids</span> <span class='assign token'>=</span> <span class='ids identifier id'>ids</span>
  <span class='@place_suggestions ivar id'>@place_suggestions</span> <span class='assign token'>=</span> <span class='ids identifier id'>ids</span><span class='dot token'>.</span><span class='split identifier id'>split</span><span class='lparen token'>(</span><span class='string val'>&quot;,&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='map identifier id'>map</span><span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='id identifier id'>id</span><span class='bitor op'>|</span> <span class='Place constant id'>Place</span><span class='dot token'>.</span><span class='find identifier id'>find</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span><span class='rbrace token'>}</span>
<span class='end end kw'>end</span>
</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="place_suggestions-instance_method">
  
    - (<tt>Object</tt>) <strong>place_suggestions</strong> 
  

  
</p><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


5</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/place_lookupable.rb', line 5</span>

<span class='def def kw'>def</span> <span class='place_suggestions identifier id'>place_suggestions</span><span class='semicolon token'>;</span> <span class='@place_suggestions ivar id'>@place_suggestions</span> <span class='opasgn op'>||=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span> <span class='end end kw'>end</span>
</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="place_suggestions=-instance_method">
  
    - (<tt>Object</tt>) <strong>place_suggestions=</strong>(sugs) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>
sets suggestions AND suggestion_ids
</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


14
15
16
17</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/place_lookupable.rb', line 14</span>

<span class='def def kw'>def</span> <span class='place_suggestions= identifier id'>place_suggestions=</span><span class='lparen token'>(</span><span class='sugs identifier id'>sugs</span><span class='rparen token'>)</span>
  <span class='@place_suggestions ivar id'>@place_suggestions</span> <span class='assign token'>=</span> <span class='sugs identifier id'>sugs</span>
  <span class='@place_suggestion_ids ivar id'>@place_suggestion_ids</span> <span class='assign token'>=</span> <span class='sugs identifier id'>sugs</span><span class='dot token'>.</span><span class='map identifier id'>map</span><span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='s identifier id'>s</span><span class='bitor op'>|</span> <span class='s identifier id'>s</span><span class='dot token'>.</span><span class='id identifier id'>id</span><span class='rbrace token'>}</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='string val'>&quot;,&quot;</span><span class='rparen token'>)</span>
<span class='end end kw'>end</span>
</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>
    
    <div id="footer">
  Generated on Thu Dec  8 13:43:22 2011 by 
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  0.7.3 (ruby-1.8.7).
</div>

  </body>
</html>